package com.runda.partypolicy.app.page.fragment.task;


/**
 * A simple {@link Fragment} subclass.
 * 通讯录
 */
public class ShopFragment2 {

//    @BindView(R.id.commen_search_img)
//    ImageView commenSearchImg;
//    @BindView(R.id.recycler_two)
//    RecyclerView recyclerView;
//    @BindView(R.id.commen_title_name)
//    TextView commenTitleName;
//    @BindView(R.id.commen_title_img)
//    ImageView commenTitleImg;
//    @BindView(R.id.chat_img_content)
//    CardView chatImgContent;
//
//    private List<CurrentNode> list;
//    private List<CurrentNode> list1;
//
//    @OnClick(R.id.commen_title_img)
//    public void onclick(View v) {
//        showPop(commenTitleImg);
//    }
//
//    public ShopFragment2() {
//        // Required empty public constructor
//    }
//
//    @Override
//    public void start() {
//        commenTitleName.setText("通讯录");
//        commenSearchImg.setVisibility(View.VISIBLE);
//        init();
//    }
//
//    private void init() {
//        list = new ArrayList<>();
//        list1 = new ArrayList<>();
//        //第一级
//        CurrentNode currentNode = new CurrentNode(1, 0, "中共寒亭区委", R.mipmap.commen_head1);
//        CurrentNode currentNode1 = new CurrentNode(2, 0, "寒亭区人民政府", R.mipmap.commen_head2);
//        CurrentNode currentNode2 = new CurrentNode(3, 0, "区委部门", R.mipmap.commen_head3);
//        CurrentNode currentNode3 = new CurrentNode(4, 0, "区政府部门", R.mipmap.commen_head4);
//        CurrentNode currentNode13 = new CurrentNode(5, 0, "街道、开发区", R.mipmap.commen_head5);
//        list.add(currentNode);
//        list.add(currentNode1);
//        list.add(currentNode2);
//        list.add(currentNode3);
//        list.add(currentNode13);
//        //第二级别
//        CurrentNode currentNode4 = new CurrentNode(6, 1, "李兰祥", R.mipmap.tree_2);
//        CurrentNode currentNode5 = new CurrentNode(7, 1, "刘金国", R.mipmap.tree_04);
//        CurrentNode currentNode6 = new CurrentNode(8, 2, "刘金国", R.mipmap.tree_2);
//        CurrentNode currentNode7 = new CurrentNode(9, 2, "李培进", R.mipmap.tree_04);
//        CurrentNode currentNode9 = new CurrentNode(10, 3, "区委办公室", R.mipmap.tree_04);
//        CurrentNode currentNode10 = new CurrentNode(11, 4, "区政府办公室", R.mipmap.tree_04);
//        CurrentNode currentNode11 = new CurrentNode(12, 5, "寒亭街道", R.mipmap.tree_04);
//        list.add(currentNode4);
//        list.add(currentNode5);
//        list.add(currentNode6);
//        list.add(currentNode7);
//        list.add(currentNode9);
//        list.add(currentNode10);
//        list.add(currentNode11);
//
//        recyclerView.setLayoutManager(new LinearLayoutManager(getActivity()));
//        final TreeAdapter<CurrentNode> adapter = new TreeAdapter<>(getActivity());
//        adapter.setNodes(list);
//
//        recyclerView.setAdapter(adapter);
//    }
//
//    @Override
//    public int getLayoutId() {
//        return R.layout.activity_two;
//    }

}
